/* 
 * File:   Pixel.cpp
 * Author: brady
 * 
 * Created on June 23, 2011, 6:49 PM
 */

#include <dto/Pixel.h>

Pixel::Pixel() : x(-1), y(-1){
}

Pixel::Pixel(int x, int y){
    this->x = x;
    this->y = y;
}

Pixel::~Pixel() {
}

bool Pixel::isValid(){
    return ((x != -1) && (y != -1));
}
